package com.atguigu.springcloud.IOC_DI;

import org.springframework.stereotype.Component;

/**
 * @author XiongJianLin
 * @date Created in 2025/2/26 15:46
 */
@Component  // 标识当前类交给spring 去new ，交给spring进行管理
public class UserDao2 {
    public String getUser() {
        return "666";
    }

    public UserDao2() {
    }

}
